package com.zx.mes.redis.hyl;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * redis项目启动类
 * @author hyl
 * @date 2018-3-2
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrixDashboard
@EnableCircuitBreaker
public class RedisApplication {

    public static void main(String[] args){
        new SpringApplicationBuilder(RedisApplication.class).web(true).run(args);
    }
}
